package com.chenliang.mybatis.base;

import tk.mybatis.mapper.additional.idlist.DeleteByIdListMapper;
import tk.mybatis.mapper.common.IdsMapper;
import tk.mybatis.mapper.common.Mapper;

import java.io.Serializable;

/**
 * @program: springboot_all
 * @description: 自定义baseMapper必须不在我们数据库映射的mapper里面, 就是baseMapper不要放在mapper文件夹下,否则抛出限免异常
 * sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
 * @author: 陈亮
 * @create: 2022-04-21 23:08
 */
@org.apache.ibatis.annotations.Mapper
public interface BaseMapper<T> extends Mapper<T>, IdsMapper<T>, DeleteByIdListMapper<T, Serializable> {
}
